*** Settings ***
Documentation    Suite description
Library         SeleniumLibrary

*** Keywords ***
用户登录
    [Arguments]     ${username}     ${passwd}
    Input Text      id:name             ${username}
    Input Password  id:pass             ${passwd}
    Click Element   css:[value="登录"]

用户注册
    [Arguments]     ${username}     ${passwd}   ${repasswd}     ${email}
    Input Text  id:loginname    ${username}
    Input Text  id:pass         ${passwd}
    Input Text  id:re_pass       ${repasswd}
    Input Text  id:email        ${email}
    Click Element   css:[value="注册"]